var express = require('express')
const TagController = require('../controller/TagController')
var TagRouter = express.Router()
TagRouter.get("/admin/tags",TagController.getList)
TagRouter.post("/admin/tags",TagController.addList)
TagRouter.delete("/admin/tags/:id",TagController.deleteList)
TagRouter.put("/admin/tags/:id",TagController.updateList)
module.exports = TagRouter